package com.woniuxy.house.admin;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping
public class IndexController {

    //跳转到主页
    @RequestMapping("/")
    public String index(){
        return "index";
    }
    //退出登录
    @RequestMapping("/logout")
    public String logout(){
    return "login";
    }
}
